package prictice.transaction1;

import java.io.Serializable;

/**
 * @Package prictice.transaction1
 * @Description:
 * @Author elwyn
 * @Date 2017/9/16 19:46
 * @Email elonyong@163.com
 */
public class MyMate implements Serializable {

    private static final long serialVersionUID = 2903046150789457699L;
    private long beginPoint;//事物开始位置
    private int num;//batch的tuple个数

    public long getBeginPoint() {
        return beginPoint;
    }

    public void setBeginPoint(long beginPoint) {
        this.beginPoint = beginPoint;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "MyMate{" +
                "beginPoint=" + beginPoint +
                ", num=" + num +
                '}';
    }
}
